Skip to content

Conversation

@borisdevos
Copy link
Contributor

The changes run parallel to the ones done in QuantumKitHub/TensorKit.jl#247 to deal with complex sectors correctly, as well as the BlockIterator.

@codecov
Copy link

codecov bot commented Jul 17, 2025

Codecov Report

Attention: Patch coverage is 71.42857% with 4 lines in your changes missing coverage. Please review.

Project coverage is 55.71%. Comparing base (c36a83a) to head (c500f57).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/tensors/tensoroperations.jl 69.23% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   55.74%   55.71%   -0.04%     
==========================================
  Files          18       18              
  Lines        1410     1418       +8     
==========================================
+ Hits          786      790       +4     
- Misses        624      628       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Owner

@lkdvos lkdvos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Small comment about formatting: I think sectortype is exported by TensorKit, so there is no need to specify TK.sectortype.
Similarly, I think it's fair to just import sectorscalartype from TensorKit, and avoid having to explicitly deal with the additional dependency/compat entries. I'll file a PR to TensorKit to make that public/exported anyways.

@borisdevos
Copy link
Contributor Author

I made use of your TensorKit PR to remove the Sectors dependency. Since I don't really know how compat works in the Project.toml, should the TensorKit one now be specified to 0.14.9?

@lkdvos
Copy link
Owner

lkdvos commented Jul 18, 2025

Since this function existed before, you don't have to update the compat, but you have to explicitly import it to be compatible with the previous versions. Can you also bump the patch version? I'll merge and tag once this is done.
[edit] just noticed you already did, my bad!

@lkdvos lkdvos merged commit c3e8d37 into lkdvos:main Jul 18, 2025
28 checks passed
@lkdvos lkdvos deleted the boris-mtk-compat branch July 18, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants